package com.xuecheng.web.exception;

import com.xuecheng.commons.enums.ErrorCode;
import lombok.AllArgsConstructor;
import lombok.Data;

/**
 * @author Sober_wxy
 * @date 2022/7/16 15:59
 */
@Data
@AllArgsConstructor
public class BusinessException extends RuntimeException {
        // 错误信息枚举对象
        private ErrorCode errorCode;
}
